package com.zsx.shopping.product.mapper;

import com.zsx.shopping.product.entity.SaleAttr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.zsx.shopping.product.entity.SaleAttr
 */
public interface SaleAttrMapper extends BaseMapper<SaleAttr> {

    /* attrId:attrValue_skuIds;attrValue_skuIds
       9:白色_8,6;红色_7,9
       10:4G + 128G_7,8;4G + 64G_6,9 */
    List<String> getOptionsBySpuId(@Param("spuId") Long spuId);
}




